package com.linpq.road.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.linpq.common.annotation.Excel;
import com.linpq.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 道路基本信息对象 road_information
 *
 * @author linpq
 * @date 2020-11-19
 */
public class RoadInformation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 路线Py
     */
    @Excel(name = "路线Py")
    private String firstRoadName;

    /**
     * 路线
     */
    @Excel(name = "路线")
    private String chroadName;

    /**
     * 公司Py
     */
    @Excel(name = "公司Py")
    private String companyName;

    /**
     * 公司
     */
    @Excel(name = "公司")
    private String company;

    /**
     * 公司排序
     */
    @Excel(name = "公司排序")
    private Integer companySort;

    /**
     * 路段
     */
    @Excel(name = "路段")
    private String roadName;

    /**
     * 路线编号
     */
    @Excel(name = "路线编号")
    private String sectionId;

    /**
     * 启点
     */
    @Excel(name = "启点")
    private String startName;

    /**
     * 终点
     */
    @Excel(name = "终点")
    private String endName;

    /**
     * 路线地区
     */
    @Excel(name = "路线地区")
    private String location;

    /**
     * 起点桩号
     */
    @Excel(name = "起点桩号")
    private String startpilenumber;

    /**
     * 终点桩号
     */
    @Excel(name = "终点桩号")
    private String endpilenumber;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 开始年
     */
    @Excel(name = "开始年")
    private Integer starttime;

    /**
     * 路面结构
     */
    @Excel(name = "路面结构",dictType = "road-stru")
    private Integer stru;

    /**
     * 通车日期
     */
    @Excel(name = "通车日期")
    private String opentime;

    /**
     * 衰变系数
     */
    @Excel(name = "衰变系数")
    private BigDecimal suai;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /**
     * 备注信息
     */
    @Excel(name = "备注信息")
    private String remarks;

    /**
     * 删除标记
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setFirstRoadName(String firstRoadName) {
        this.firstRoadName = firstRoadName;
    }

    public String getFirstRoadName() {
        return firstRoadName;
    }

    public void setChroadName(String chroadName) {
        this.chroadName = chroadName;
    }

    public String getChroadName() {
        return chroadName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setCompanySort(Integer companySort) {
        this.companySort = companySort;
    }

    public Integer getCompanySort() {
        return companySort;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    public String getRoadName() {
        return roadName;
    }

    public void setSectionId(String sectionId) {
        this.sectionId = sectionId;
    }

    public String getSectionId() {
        return sectionId;
    }

    public void setStartName(String startName) {
        this.startName = startName;
    }

    public String getStartName() {
        return startName;
    }

    public void setEndName(String endName) {
        this.endName = endName;
    }

    public String getEndName() {
        return endName;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocation() {
        return location;
    }

    public void setStartpilenumber(String startpilenumber) {
        this.startpilenumber = startpilenumber;
    }

    public String getStartpilenumber() {
        return startpilenumber;
    }

    public void setEndpilenumber(String endpilenumber) {
        this.endpilenumber = endpilenumber;
    }

    public String getEndpilenumber() {
        return endpilenumber;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStarttime(Integer starttime) {
        this.starttime = starttime;
    }

    public Integer getStarttime() {
        return starttime;
    }

    public void setStru(Integer stru) {
        this.stru = stru;
    }

    public Integer getStru() {
        return stru;
    }

    public void setOpentime(String opentime) {
        this.opentime = opentime;
    }

    public String getOpentime() {
        return opentime;
    }

    public void setSuai(BigDecimal suai) {
        this.suai = suai;
    }

    public BigDecimal getSuai() {
        return suai;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("firstRoadName", getFirstRoadName())
                .append("chroadName", getChroadName())
                .append("companyName", getCompanyName())
                .append("company", getCompany())
                .append("companySort", getCompanySort())
                .append("roadName", getRoadName())
                .append("sectionId", getSectionId())
                .append("startName", getStartName())
                .append("endName", getEndName())
                .append("location", getLocation())
                .append("startpilenumber", getStartpilenumber())
                .append("endpilenumber", getEndpilenumber())
                .append("sort", getSort())
                .append("starttime", getStarttime())
                .append("stru", getStru())
                .append("opentime", getOpentime())
                .append("suai", getSuai())
                .append("createBy", getCreateBy())
                .append("createDate", getCreateDate())
                .append("updateBy", getUpdateBy())
                .append("updateDate", getUpdateDate())
                .append("remarks", getRemarks())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
